export default {
  title: "订单",
  moduleName: "oms",
  order: 3,
  menuList: [
    {
      path: "home",
      component: "Layout",
      redirect: "noRedirect",
      alwaysShow: false,
      meta: {
        title: "订单看板",
        icon: "user",
      },
      children: [
        {
          path: "index",
          meta: {
            title: "订单看板",
            icon: "user",
          },
        },
      ],
    },
    {
      path: "user",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "订单管理",
        icon: "user",
      },
      children: [
        {
          path: "list",
          meta: {
            title: "列表",
            icon: "user",
          },
          children: [
            {
              path: "add",
              hidden: true,
              meta: {
                title: "复制订单详情",
                icon: "user",
              },
            },
            { path: "create", hidden: true, props: true, meta: { title: "新增订单详情", activeMenu: "/oms/user/list" } },
            { path: "addUpdata", hidden: true, meta: { title: "编辑订单详情", activeMenu: "/oms/user/list" } },
            { path: "detail", hidden: true, meta: { title: "客户订单详情", activeMenu: "/oms/user/list/detail" } },
          ],
        },
        {
          path: "problem-order",
          meta: {
            title: "问题订单",
            icon: "user",
          },
        },
        {
          path: "refund",
          meta: {
            title: "订单退款",
            icon: "user",
          },
        },
        {
          path: "return",
          meta: {
            title: "订单退换货管理",
            icon: "user",
          },
        },
        {
          path: "blacklist",
          meta: {
            title: "黑名单管理",
            icon: "user",
          },
        },
        {
          path: "importOrder",
          meta: {
            title: "批量导入订单",
            icon: "user",
          },
        },

        {
          path: "irobotbox",
          meta: {
            title: "赛盒历史订单",
            icon: "user",
          },
        },
        {
          path: "irobotboxRefund",
          meta: {
            title: "赛盒订单退款管理",
            icon: "user",
          },
        },


        
      ],
    },
    {
      path: "basic-setup",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "基础设置",
        icon: "user",
      },
      children: [
        {
          path: "profit-setting",
          meta: {
            title: "业绩指标设置",
            icon: "user",
          },
        },
        {
          path: "order-source",
          meta: {
            title: "订单来源渠道管理",
            icon: "user",
          },
          children: [
            {
              path: "add",
              hidden: true,
              meta: {
                title: "订单来源渠道详情",
                icon: "user",
              },
            },
          ],
        },
        {
          path: "profit-testing",
          meta: {
            title: "利润检测设置",
            icon: "user",
          },
        },
        {
          path: "commission-seting",
          meta: {
            title: "平台佣金设置",
            icon: "user",
          },
        },
        {
          path: "commission-seting-otto",
          meta: {
            title: "OTTO佣金维护",
            icon: "user",
          },
        },

        {
          path: "sales-VAT",
          meta: {
            title: "销售VAT设置",
            icon: "user",
          },
        },
        {
          path: "custom-fee-items",
          meta: {
            title: "自定义费用项设置",
            icon: "user",
          },
        },
        {
          path: "system-parameter",
          meta: {
            title: "系统参数设置",
            icon: "user",
          },
        },
      ],
    },
    {
      path: "order-strategy",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "订单策略",
        icon: "user",
      },
      children: [
        {
          path: "scheduling-strategy",
          meta: {
            title: "订单排程和操作策略",
            icon: "user",
          },
          children: [
            {
              path: "add",
              hidden: true,
              meta: {
                title: "新增",
                icon: "user",
              },
            },
            {
              path: "update",
              hidden: true,
              meta: {
                title: "编辑",
                icon: "user",
              },
            },
            // {
            //   path: "detail",
            //   hidden: true,
            //   meta: {
            //     title: "详情",
            //     icon: "user",
            //   },
            // },
          ],
        },
        {
          path: "logistics-preferred",
          meta: {
            title: "分仓和物流优选规则",
            icon: "user",
          },
        },
        {
          path: "platform-standard",
          meta: {
            title: "平台标发策略",
            icon: "user",
          },
        },
      ],
    },

    {
      path: "report",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "报表",
        icon: "user",
      },
      children: [
        {
          path: "custom-fee",
          meta: {
            title: "自定义费用导入",
          },
        },
        {
          path: "custom-fee-new",
          meta: {
            title: "自定义费用导入(新)",
          },
        },
        {
          path: "sales-trend",
          meta: { title: "订单利润报表" },
          children: [
            {
              path: "groupArchive",
              hidden: true,
              meta: { title: "异常账单处理" },
            },
          ],
        },
        {
          path: "performance-indicator",
          meta: {
            title: "业绩达成报表",
          },
        },
        {
          path: "kpiMember",
          meta: {
            title: "业绩达成报表（新）",
            icon: "user",
          },
        },
        {
          path: "royaltiesRepor",
          meta: {
            title: "产品开发提成报表导出",
            icon: "user",
          },
        },
      ],
    },
  ],
}
